package net.hn.hnms.biz.project.vo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("安全施工管理台账")
public class ProjectSafetyVo {


    @ApiModelProperty(value = "事故编号")
    private String safetyId;

    @ApiModelProperty(value = "事故地点")
    private String unitName;

    @ApiModelProperty(value = "单位地址")
    private String unitAddress;

    @ApiModelProperty(value = "联系方式")
    private String contact;

    @ApiModelProperty(value = "检查日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date checkDate;

    @ApiModelProperty(value = "罚款日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date penaltyDate;

    @ApiModelProperty(value = "奖励日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    @TableField(updateStrategy= FieldStrategy.IGNORED)
    private Date rewardDate;

    @ApiModelProperty(value = "检查人员")
    private String checkPerson;

    @ApiModelProperty(value = "检查结果")
    private String checkResult;

    @ApiModelProperty(value = "奖励方式")
    private String rewardMethod;

    @ApiModelProperty(value = "罚款原因")
    private String penaltyReason;

    @ApiModelProperty(value = "奖励原因")
    private String rewardReason;

    @ApiModelProperty(value = "罚款金额")
    private BigDecimal penaltyAmount;
}
